/*
 * 		GL_Writer.h
 *
 *		Printing bitmap generated fonts
 *
 ****************************************************************
 *
 *		buildFont:	generated the font from system font
 *					needs to be called on every windows create
 *		glPrint:	prints text on specified x,y coordinates
 *					printf style of variable arguments
 *
 ****************************************************************/

#ifndef GL_WRITER_H_
#define GL_WRITER_H_

#include <windows.h>
#include <gl\gl.h>

class GL_Writer {
public:
	GL_Writer();
	virtual ~GL_Writer();

	//void buildFont_3D(GLuint fontTexture);
	//void glPrint_3D(GLint x, GLint y, char *string, int set);

	void buildFont();
	void glPrint(int x, int y, const char *fmt, ...);

protected:
	//GLuint fontTexture;			// Texture of the font (16 x 16)
	GLuint base;					// Base for display lists
};

#endif /* GL_WRITER_H_ */
